#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<assert.h>
char* my_strcpy(char* dest, const char* src)
{
	assert(dest && src);
	char* ret = dest;
	while ((*dest++ = *src++))
	{
		;
	}
	*dest = '\0';
	return ret;
}
int main()
{
	char arr[20] = { 0 };
	scanf("%s", arr);
	char buf[20] = "abcdefg";
	printf("buf:%s\n", buf);

	my_strcpy(buf, arr);
	printf("cpy_buf:%s", buf);
	return 0;
}